Set Modbus master
As a modbus master, RTU can read registers on RS485, set these registers as follow
Register description
Register type | Register address range | Function code |
---|---|---|
Coil | 0XXXX | 01 |
Keep (holding) | 4XXXX | 03 |
Input | 3XXXX | 04 |
Discrete state | 1XXXX | 02 |
E.g. a register address is 40012; slave id is 1, set as below
The 5 check boxes are valid for Keep (holding) and Input registers, default read 16-bit register, if 32-bit need check “32bits register” and “Float”
Register type is Coil or Discrete state, only choose the normal state
Normal state is on, means RTU alarm when the register off
Attention:
RTU series port rate is 9600, please set slave’s rate same as the RTU
Author:admin Create time:2021-08-06 03:09
Last editor:admin Update time:2023-02-15 03:13
Last editor:admin Update time:2023-02-15 03:13